
#ifndef __MAIN_H
#define __MAIN_H
#include <stdio.h>

#include "stm32f10x.h"
#include "stm32f10x_usart.h"
#include "misc.h"
#include "core_cm3.h"
#include "stm32f10x_gpio.h"

#include "zbProtocol.h"
#include "unitTest.h"

#ifdef __GNUC__
  /* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf
     set to 'Yes') calls __io_putchar() */
  #define PUTCHAR_PROTOTYPE int __io_putchar(int ch)
#else
  #define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f)
#endif /* __GNUC__ */
#endif
